#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int sz = 0;
	while (scanf("%d", &sz) != EOF)
	{
		int i = 0;
		int j = 0;
		for (i = sz;i > 0;i--)
		{
			for (j = i+1;j >0 ;j--)
				printf("* ");
			printf("\n");
		}
		printf("* \n");
		for (i = 0;i < sz;i++)
		{
			for (j = 0;j <= i + 1;j++)
				printf("* ");
			printf("\n");
		}
			
	}
	return 0;
}